package com.muyu.jarpackagedemo.result;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: Result
 * @Author: Zirun.Xin
 * @Date: 2025/3/31 下午4:21
 * @Version: 1.0
 * @Description: 响应结果集对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {

    /**
     * 状态码
     */
    private Integer code;

    /**
     * 提示信息
     */
    private String message;

    /**
     * 当前时间戳
     */
    private Long timestamp;

    /**
     * 响应数据
     */
    private T data;
}
